<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head th:include="css :: css">
</head>
<link href="/js/jquery.icheck/skins/square/blue.css" rel="stylesheet">
<style>
    .fixed-table-toolbar .bs-bars, .fixed-table-toolbar .search, .fixed-table-toolbar .columns {
        margin-top: -70px;
    }
</style>
<body style="overflow: hidden;opacity: 1">

<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>会员后台管理</h5>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <form id="quickSetting">
                            <input type="hidden" name="userId" id="userIds"/>
                            <input type="hidden" name="resourceIds" id="resourceIds"/>
                            <div class="col-md-12 ">
                                <dl class="dl-horizontal">
                                    <dt>会员编号：</dt>
                                    <dd>
                                        <div class="col-sm-6">
                                            <div class="input-group ">
                                                <input class="form-control" type="text" id="account" name="account">
                                                <span class="input-group-btn">
                                                     <button class="btn btn-warning" type="button"
                                                             onclick="unLockUser(0)"><i
                                                             class="fa fa-unlock"></i>解锁 </button>
                                                </span>
                                                &nbsp;
                                                <span class="input-group-btn">
                                                    <button class="btn btn-danger" type="button"
                                                            onclick="unLockUser(1)"><i
                                                            class="fa fa-lock"></i>锁定 </button>
                                                </span>
                                                <!--&nbsp;-->
                                                <!--<span class="input-group-btn">-->
                                                    <!--<button class="btn btn-warning btn-operation" type="button"-->
                                                            <!--onclick="getAlipayInfo()"><i class="fa fa-pencil"></i> 修改支付宝-->
                                                     <!--</button>-->
                                                <!--</span>-->
                                            </div>
                                        </div>
                                    </dd>
                                    <dt>支付密码：</dt>
                                    <dd>
                                        <div class="col-sm-6">
                                            <div class="input-group ">
                                                <input class="form-control" type="text" id="payPwd" name="payPwd">
                                                <span class="input-group-btn">
                                                     <button class="btn btn-primary" type="button"
                                                             onclick="updatePayPwd()"><i
                                                             class="fa fa-pencil"></i>修改 </button>
                                                </span>
                                            </div>
                                        </div>
                                    </dd>
                                    <dt>IP：</dt>
                                    <dd>
                                        <div class="col-sm-6">
                                            <div class="input-group ">
                                                <input type="text" class="form-control" placeholder="IP" id="ip"
                                                       name="ip"/>
                                                <span class="input-group-btn">
                                                     <button class="btn btn-warning" type="button" id="ipUnlock"><i
                                                             class="fa fa-unlock"></i>IP解禁
                                                     </button>
                                                </span>
                                            </div>
                                        </div>
                                    </dd>
                                </dl>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <div class="modal fade" id="modifyAlipayModal" tabindex="-1" role="dialog" aria-labelledby="modifyAlipayLabel">
            <div class="modal-dialog" role="document" style="width:800px;">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                                aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title" id="modifyAlipayLabel">修改会员支付宝</h4>
                    </div>
                    <div class="modal-body" style="min-height:200px;">
                        <form class="form-horizontal" role="form" id="modifyAlipayForm">
                            <input type="hidden" id="hidId" name="id">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label for="realName" class="col-sm-4 control-label"><span
                                            class="text-danger"></span>认证姓名:</label>
                                    <div class="col-sm-7" style="width: 240px">
                                        <input type="text" class="form-control"
                                               id="realName" name="realName" readonly>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="aliPayAccount" class="col-sm-4 control-label"><span
                                            class="text-danger"></span>原支付宝:</label>
                                    <div class="col-sm-7" style="width: 240px">
                                        <input type="text" class="form-control"
                                               id="oldAliPayAccount" name="oldAliPayAccount" readonly>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="aliPayAccount" class="col-sm-4 control-label"><span
                                            class="text-danger"></span>新支付宝:</label>
                                    <div class="col-sm-7" style="width: 240px">
                                        <input type="text" class="form-control"
                                               id="aliPayAccount" name="aliPayAccount">
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                        <button type="button" class="btn btn-primary" id="modifyAlipaySubmit">修改</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="js :: js"></div>
<script type="text/javascript" th:attr="src=@{/js/jquery.form.js}"></script>
<script type="text/javascript" th:attr="src=@{/js/jquery.parser.js}"></script>
<script type="text/javascript" src="js/jquery.icheck/icheck.min.js"></script>
<script type="text/javascript" src="/js/pageJs/memberManage/userManage.js?deVersion=2018070127"></script>
<script>
    var accountName = GetQueryString("accountName");
    if (accountName != null && accountName != '') {
        $("#userName").val(decodeURI(accountName));
        $("#search").click();
    }
</script>
</body>
</html>
